package com.wang.mapper;

import com.wang.pojo.TbSicknessScheme;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Entity com.wang.pojo.TbSicknessScheme
 */
@Mapper
public interface TbSicknessSchemeMapper extends BaseMapper<TbSicknessScheme> {

    @Select("select task_id from tb_sickness_scheme where sid=#{sid} and fid=#{sid1}")
    List<TbSicknessScheme> gettaskidlistbysidfid(@Param("sid") Integer sid,@Param("sid1") Integer sid1);
}




